Skip to content

Conversation

pjcdawkins
Copy link
Collaborator

No description provided.

pjcdawkins and others added 30 commits March 12, 2025 19:43
Increase the default limits for finding activities
Bumps [github.com/go-chi/chi/v5](https://github.com/go-chi/chi) from 5.2.1 to 5.2.2.
- [Release notes](https://github.com/go-chi/chi/releases)
- [Changelog](https://github.com/go-chi/chi/blob/master/CHANGELOG.md)
- [Commits](go-chi/chi@v5.2.1...v5.2.2)

---
updated-dependencies:
- dependency-name: github.com/go-chi/chi/v5
  dependency-version: 5.2.2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Remove "deploy" alias from env:deploy command
…ot allowed (#1553)

* Changing instance count on services where autoscaling is enabled is not allowed

* Move instance count autoscaling validation earlier

---------

Co-authored-by: Ricardo Kirkner <[email protected]>
Co-authored-by: Patrick Dawkins <[email protected]>
Avoid writing to stdout when opening a URL
(This method is not yet used, but it will be used by a pending PR)
pjcdawkins and others added 12 commits September 10, 2025 16:42
…-activate

Fix "This environment is inactive" during activation if the deployment cannot be fetched
* Add support for organization types to the `orgs` command

* Add support for organization types to the `org:create` command

* Pass the type on creation

* Allow org types to be disabled in the environment

* Display the org type in the project:list (projects) command

* Re-title project:list columns and display the org label by default, for neater layout

* Preserve organization name as the default column

* Fix current test expectations

* Add unit tests covering org types

* Add an --org-type filter to the project list command

* Fix golangci-lint in Actions

* Update help_test.go
Set --fail-with-body by default in curl commands
@pjcdawkins
Copy link
Collaborator Author

Port Verification Analysis (by Claude)

I've systematically examined the differences between the main branch (since v4.22.0) and this port-4.x-5.x branch.

Result: All 71 commits from v4.22.0..main are successfully reflected in this branch.

Commit Distribution

  • Main branch (v4.22.0 to v4.27.0): 71 commits total

    • 29 commits: v4.22.0 to v4.23.0 (tests, CI, Valkey, console rename, auth refresh, etc.)
    • 42 commits: v4.23.0 to v4.27.0 (deploy commands, autoscaling, guaranteed resources, etc.)
  • Port branch structure:

    • Based on 5.x at commit dbe0dec (which already included the 29 older commits)
    • Merged main (v4.27.0) with commit 874e82b
    • Added 8 commits for 5.x adaptation with proper dependency injection and PHP 8+ features

Key Features Verified Present

Architecture Adaptations

The porting commits show proper adaptation to 5.x architecture:

  • Reduced code complexity through better service abstractions
  • Proper use of Symfony dependency injection
  • PHP 8 type declarations throughout
  • Symfony 7 compatibility

Conclusion: The port is complete and comprehensive. All functionality from main has been successfully ported and adapted to the 5.x architecture.

@pjcdawkins pjcdawkins force-pushed the port-4.x-5.x branch 2 times, most recently from 00068a7 to 31999a4 Compare October 21, 2025 08:41
@pjcdawkins pjcdawkins requested a review from Copilot October 21, 2025 10:20
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR merges recent changes from the main branch into the 5.x branch, incorporating several new features and improvements including autoscaling configuration support, manual deployment capabilities, organization type filtering, guaranteed CPU resource management, and various code quality improvements.

Key changes:

  • Added autoscaling configuration commands and API support for managing autoscaling settings
  • Implemented manual deployment type functionality with staging and deployment commands
  • Added organization type support with filtering capabilities across list and create operations
  • Enhanced resource management with guaranteed CPU support and improved resource commands

Reviewed Changes

Copilot reviewed 59 out of 63 changed files in this pull request and generated 7 comments.

Show a summary per file
File Description
src/Service/Api.php Added autoscaling, guaranteed CPU, and project capabilities methods; refactored vendor filtering and subscription loading
src/Service/ActivityMonitor.php Enhanced activity monitoring to handle staged deployments and improved result printing
src/Command/Autoscaling/* New autoscaling get/set commands for configuring automatic scaling of apps and workers
src/Command/Environment/EnvironmentDeploy*.php New commands for managing deployment types and deploying staged changes
src/Command/Resources/* Enhanced resource commands with CPU type support and guaranteed resource handling
src/Command/Organization/* Added organization type filtering and configuration
src/Service/ResourcesUtil.php Enhanced formatChange method to support custom comparators and boolean values
config.yaml Updated documentation URLs and added organization type configuration
go-tests/* Updated test data and assertions for new organization type field
Comments suppressed due to low confidence (1)

src/Command/Environment/EnvironmentDeployCommand.php:1

  • Use strict comparison operator === instead of loose comparison == for string equality checks to avoid type coercion issues.
<?php

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@pjcdawkins pjcdawkins force-pushed the port-4.x-5.x branch 2 times, most recently from 4b59c8b to dcef40f Compare October 21, 2025 10:29
This ports changes made between v4.22.0 and v4.27.0, adapting code to the 5.x
format: PHP 8, Guzzle 7, Symfony 7, etc.
@pjcdawkins pjcdawkins merged commit 1cbec9c into 5.x Oct 21, 2025
3 checks passed
@pjcdawkins pjcdawkins deleted the port-4.x-5.x branch October 21, 2025 11:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants